list(
  FIND
  ITK_WRAP_IMAGE_DIMS
  2
  wrap_2_index)
if(ITK_WRAP_PYTHON
   AND ITK_WRAP_float
   AND wrap_2_index GREATER -1)
  itk_python_add_test(
    NAME
    PythonReadDicomAndReadTagTest
    COMMAND
    ReadDicomAndReadTagTest.py
    DATA{${ITK_DATA_ROOT}/Input/DicomSeries/,REGEX:Image[0-9]+.dcm})
endif()
